﻿//using System.ComponentModel.DataAnnotations;
using KLS.PPDS.Core.Entity.BaseEntities;

namespace KLS.PPDS.Core.Entity
{
    /// <summary>
    /// Company class
    /// this class inherited from AuditEntity base class for audit trail
    /// </summary>
    public class Company : AuditEntity
    {
        // [Required, StringLength(maximumLength: 100)]
        public virtual string CompanyName { get; set; }

        public virtual int ?Editor { get; set; }
        public virtual int ?Graphic { get; set; }

      //  [Required]
        public virtual int ?LanguageId { get; set; }



       
        //    public virtual int ?CreatedBy { get; set; }

        //  public virtual int? UpdatedBy { get; set; }

        //      public virtual bool IsDeleted { get; set; }

        // [Required]
        // public virtual DateTime CreatedDate { get; set; }

        //        public virtual DateTime? UpdatedDate { get; set; }

        // private Language language = new Language();
        //public virtual Language Language
        //{
        //    get { return language; }
        //    set { language = value; }
        //}



        //private IList<CompanyPermission> permission = new List<CompanyPermission>();
        //public virtual IList<CompanyPermission> PermissionOnCompany
        //{
        //    get { return permission; }
        //    set { permission = value; }
        //}

        //public virtual IList<Group> Groups { get; set; }
        
    }
}
